<template>
  <main>
    <div>
      <div class="c1">homeview</div>
      <div class="c1">测试使用</div>
      <Child ref="childRef" />
    </div>
  </main>
</template>
<script setup lang="ts">
import { ref, onMounted } from 'vue'
import Child from './Child.vue'
const childRef = ref()
onMounted(() => {
  console.log(childRef.value)
})
</script>
